package de.tum.in.eist.im.server.Datastore;

import de.tum.in.eist.im.shared.Message.Message;
import de.tum.in.eist.im.shared.User.User;

public interface DatastoreManagerInterface {
	
	// user methods
	public boolean addUser (User user);
	public boolean checkForUser (User user);
	public boolean userLoginValidation (User user);
	
	// channel methods
	public long getChatChannelId (String channelTitle);
	public long getPrivateChatChannelId (User thisUser, User otherUser);
	
	// message methods
	public boolean sendMessageToServer (Message message);
	public Message[] getMessagesFromDatabase (Long chatChannelId);
}
